const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false, //关闭lintonsave校验
    // transpileDependencies: true,
    // productionSourceMap: false,
    // publicPath: './',
    devServer: {
        proxy: {

            '/api': {
                target: 'http://127.0.0.1:8000/', //跨域
                changeOrigin: true,
                // pathRewrite: { '^/api': '' },
            },

        }
    }
});